<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

        <div class="form-group" id="gBind" style="display: none;">
            <label class="control-label col-xs-12 col-sm-2">{:__('Rexam_bind_ids')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-rexam_bind_ids" data-source="user/user/index" data-multiple="false" data-field="nickname" class="form-control selectpage" name="row[rexam_bind_ids]" type="text" value="{$row.rexam_bind_ids|htmlentities}">
            </div>
        </div>

        <div class="form-group" id="gSubject" style="display: none;">
            <label class="control-label col-xs-12 col-sm-2">{:__('Rexam_subject_ids')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-rexam_subject_ids" data-source="rexam/subject/index" data-multiple="true" class="form-control selectpage" name="row[rexam_subject_ids]" type="text" value="{$row.rexam_subject_ids|htmlentities}">
            </div>
        </div>
        <div class="form-group" id="gQuestion" style="display: none;">
            <label class="control-label col-xs-12 col-sm-2">{:__('Rexam_question_ids')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-rexam_question_ids" data-source="rexam/question/index" data-multiple="true" data-field="title" class="form-control selectpage" name="row[rexam_question_ids]" type="text" value="{$row.rexam_question_ids|htmlentities}">
            </div>
        </div>

<!--        <div class="form-group">-->
<!--            <label class="control-label col-xs-12 col-sm-2">{:__('Randomdata')}:</label>-->
<!--            <div class="col-xs-12 col-sm-8">-->

<!--                <div class="radio">-->
<!--                    {foreach name="randomdataList" item="vo"}-->
<!--                    <label for="row[randomdata]-{$key}"><input id="row[randomdata]-{$key}" name="row[randomdata]" type="radio" value="{$key}" {in name="key" value="$row.randomdata"}checked{/in} /> {$vo}</label>-->
<!--                    {/foreach}-->
<!--                </div>-->

<!--            </div>-->
<!--        </div>-->
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
            <div class="col-xs-12 col-sm-8">
                <textarea id="c-content" class="form-control editor" rows="5" name="row[content]" cols="50">{$row.content|htmlentities}</textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="radio">
                    {foreach name="statusList" item="vo"}
                    <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
                    {/foreach}
                </div>

            </div>
        </div>
        <div class="form-group layer-footer">
            <label class="control-label col-xs-12 col-sm-2"></label>
            <div class="col-xs-12 col-sm-8">
                <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
            </div>
        </div>
    </form>




